package net.luoran.dvm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.luoran.dvm.common.base.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 数据大屏已保存的组件
 * </p>
 *
 * @author MyBatisPlusGenerater
 * @since 2020-10-29
 */
@TableName("data_panel_module")
@Data
public class PanelModuleDO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("module_id")
    private String moduleId;

    @TableField("panel_id")
    private Integer panelId;

    @TableField(exist = false)
    private String panelName;

    @TableField("element_id")
    private Integer elementId;

    @TableField(exist = false)
    private String elementName;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    @TableField("config_json")
    private String configJson;

    /**
     * 排序
     */
    @TableField("order_number")
    private Integer orderNumber;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 数据源设置
     */
    @TableField("data_source")
    private String dataSource;

    /**
     * 拖拽大小设置
     */
    @TableField("module_json")
    private String moduleJson;


    @TableField(exist = false)
    private String accountGroupId;

}
